const getters = {
  info: state => state.user.info,
  name: state => state.user.name,
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  companyFlag: state => state.user.companyFlag,

  shopPageMap: state => state.detail.shopPageMap,
  buyNum: state => state.detail.buyNum,
  searchResult: state => state.detail.searchResult,
  searchSite: state => state.detail.searchSite
}
export default getters
